package com.cssl.gulimall.auth.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("gulimall-third-part")
public interface ThirdPartFeignService {
    @PostMapping("/sms/sendCode")
    void sendCode(@RequestParam("phone") String phone, @RequestParam("code") String code);
}
